import request from "@/utils/request";

// 查询钢轨列表
export function listRailapi(query) {
  return request({
    url: "production-plan/railFacilityRail/selectManRailFacilityRailList",
    method: "get",
    params: query,
  });
}
// 添加钢轨列表
export function addRailapi(data) {
  return request({
    url: "production-plan/railFacilityRail/insertManRailFacilityRail",
    method: "post",
    data: data,
  });
}
// 删除钢轨
export function deleteManRailFacilityRailByIdapi(query) {
  return request({
    url: "production-plan/railFacilityRail/deleteManRailFacilityRailById",
    method: "get",
    params: query,
  });
}

// 修改钢轨
export function editManRailFacilityRailapi(data) {
  return request({
    url: "production-plan/railFacilityRail/editManRailFacilityRail",
    method: "post",
    data: data,
  });
}
// 单位的添加
export function insertManBasicUnitapi(data) {
  return request({
    url: "production-plan/unit/insertManBasicUnit",
    method: "post",
    data: data,
  });
}
// 单位的查询
export function selectManBasicUnitListapi(query) {
  return request({
    url: "production-plan/unit/selectManBasicUnitList",
    method: "get",
    params: query,
  });
}
// 单位的修改
export function editManBasicUnitapi(data) {
  return request({
    url: "production-plan/unit/editManBasicUnit",
    method: "post",
    data: data,
  });
}
// 线路的添加
export function insertManBasicRailwayapi(data) {
  return request({
    url: "production-plan/railway/insertManBasicRailway",
    method: "post",
    data: data,
  });
}
// 线路的查询
export function selectManBasicRailwayListapi(query) {
  return request({
    url: "production-plan/railway/selectManBasicRailwayList",
    method: "get",
    params: query,
  });
}
// 线路的修改
export function editManBasicRailwayapi(data) {
  return request({
    url: "production-plan/railway/editManBasicRailway",
    method: "post",
    data: data,
  });
}
// 行别的添加
export function insertManBasicprogressTypeapi(data) {
  return request({
    url: "production-plan/progressType/insertManBasicProgressType",
    method: "post",
    data: data,
  });
}
// 行别的查询
export function selectManBasicprogressTypeListapi(query) {
  return request({
    url: "production-plan/progressType/selectManBasicProgressTypeList",
    method: "get",
    params: query,
  });
}
// 行别的修改
export function editManBasicprogressTypeapi(data) {
  return request({
    url: "production-plan/progressType/editManBasicProgressType",
    method: "post",
    data: data,
  });
}

// 车站的添加
export function insertManBasicStationListapi(data) {
  return request({
    url: "production-plan/station/insertManBasicStation",
    method: "post",
    data: data,
  });
}
// 车站的查询
export function selectManBasicStationListapi(query) {
  return request({
    url: "production-plan/station/selectManBasicStationList",
    method: "get",
    params: query,
  });
}
// 车站的修改
export function editManBasicStationapi(data) {
  return request({
    url: "production-plan/station/editManBasicStation",
    method: "post",
    data: data,
  });
}
// 线别的添加
export function insertManBasicRailwayModelapi(data) {
  return request({
    url: "production-plan/railwayModel/insertManBasicRailwayModel",
    method: "post",
    data: data,
  });
}
// 线别的查询
export function selectManBasicRailwayModelListapi(query) {
  return request({
    url: "production-plan/railwayModel/selectManBasicRailwayModelList",
    method: "get",
    params: query,
  });
}
// 线别的修改
export function editManBasicRailwayModelapi(data) {
  return request({
    url: "production-plan/railwayModel/editManBasicRailwayModel",
    method: "post",
    data: data,
  });
}
// 曲线的添加
export function insertManRailFacilityCurveapi(data) {
  return request({
    url: "production-plan/railFacilityCurve/insertManRailFacilityCurve",
    method: "post",
    data: data,
  });
}
// 曲线的查询
export function selectManRailFacilityCurveListapi(query) {
  return request({
    url: "production-plan/railFacilityCurve/selectManRailFacilityCurveList",
    method: "get",
    params: query,
  });
}
// 曲线的修改
export function editManRailFacilityCurveapi(data) {
  return request({
    url: "production-plan/railFacilityCurve/editManRailFacilityCurve",
    method: "post",
    data: data,
  });
}
// 曲线的删除
export function deleteManRailFacilityCurveByIdapi(query) {
  return request({
    url: "production-plan/railFacilityCurve/deleteManRailFacilityCurveById",
    method: "get",
    params: query,
  });
}

// 标记的添加
export function insertManTemporaryDisposeMarkapi(data) {
  return request({
    url: "production-plan/temporaryDisposeMark/insertManTemporaryDisposeMark",
    method: "post",
    data: data,
  });
}
// 标记的查询
export function selectManTemporaryDisposeMarkListapi(query) {
  return request({
    url: "production-plan/temporaryDisposeMark/selectManTemporaryDisposeMarkList",
    method: "get",
    params: query,
  });
}

// 标记的修改
export function editManTemporaryDisposeMarkapi(data) {
  return request({
    url: "production-plan/temporaryDisposeMark/editManTemporaryDisposeMark",
    method: "post",
    data: data,
  });
}

// 标记的删除
export function deleteManTemporaryDisposeMarkByIdapi(query) {
  return request({
    url: "production-plan/temporaryDisposeMark/deleteManTemporaryDisposeMarkById",
    method: "get",
    params: query,
  });
}

// 正线历史的添加
export function insertManRailEditRecordapi(data) {
  return request({
    url: "production-plan/railEditRecord/insertManRailEditRecord",
    method: "post",
    data: data,
  });
}

// 正线历史的查询
export function selectManRailEditRecordListapi(query) {
  return request({
    url: "production-plan/railEditRecord/selectManRailEditRecordList",
    method: "get",
    params: query,
  });
}
// 路基的修改
export function editManRailFacilityRoadbedapi(data) {
  return request({
    url: "production-plan/railFacilityRoadbed/editManRailFacilityRoadbed",
    method: "post",
    data: data,
  });
}
// 路基的添加
export function insertManRailFacilityRoadbedapi(data) {
  return request({
    url: "production-plan/railFacilityRoadbed/insertManRailFacilityRoadbed",
    method: "post",
    data: data,
  });
}
// 路基的查询
export function selectManRailFacilityRoadbedListapi(query) {
  return request({
    url: "production-plan/railFacilityRoadbed/selectManRailFacilityRoadbedList",
    method: "get",
    params: query,
  });
}
// 路基的删除
export function deleteManRailFacilityRoadbedByIdapi(query) {
  return request({
    url: "production-plan/railFacilityRoadbed/deleteManRailFacilityRoadbedById",
    method: "get",
    params: query,
  });
}
// 轨枕的修改
export function editManRailFacilitySleeperapi(data) {
  return request({
    url: "production-plan/railFacilitySleeper/editManRailFacilitySleeper",
    method: "post",
    data: data,
  });
}
// 轨枕的添加
export function insertManRailFacilitySleeperapi(data) {
  return request({
    url: "production-plan/railFacilitySleeper/insertManRailFacilitySleeper",
    method: "post",
    data: data,
  });
}
// 轨枕的查询
export function selectManRailFacilitySleeperListapi(query) {
  return request({
    url: "production-plan/railFacilitySleeper/selectManRailFacilitySleeperList",
    method: "get",
    params: query,
  });
}
// 轨枕的删除
export function deleteManRailFacilitySleeperByIdapi(query) {
  return request({
    url: "production-plan/railFacilitySleeper/deleteManRailFacilitySleeperById",
    method: "get",
    params: query,
  });
}
// 扣件的修改
export function editManRailFacilityFastenapi(data) {
  return request({
    url: "production-plan/railFacilityFasten/editManRailFacilityFasten",
    method: "post",
    data: data,
  });
}
// 扣件的添加
export function insertManRailFacilityFastenapi(data) {
  return request({
    url: "production-plan/railFacilityFasten/insertManRailFacilityFasten",
    method: "post",
    data: data,
  });
}
// 扣件的查询
export function selectManRailFacilityFastenListapi(query) {
  return request({
    url: "production-plan/railFacilityFasten/selectManRailFacilityFastenList",
    method: "get",
    params: query,
  });
}
// 扣件的删除
export function deleteManRailFacilityFastenByIdapi(query) {
  return request({
    url: "production-plan/railFacilityFasten/deleteManRailFacilityFastenById",
    method: "get",
    params: query,
  });
}

// 螺栓的修改
export function editManRailFacilityBoltapi(data) {
  return request({
    url: "production-plan/railFacilityBolt/editManRailFacilityBolt",
    method: "post",
    data: data,
  });
}
// 螺栓的添加
export function insertManRailFacilityBoltapi(data) {
  return request({
    url: "production-plan/railFacilityBolt/insertManRailFacilityBolt",
    method: "post",
    data: data,
  });
}
// 螺栓的查询
export function selectManRailFacilityBoltListapi(query) {
  return request({
    url: "production-plan/railFacilityBolt/selectManRailFacilityBoltList",
    method: "get",
    params: query,
  });
}
// 螺栓的删除
export function deleteManRailFacilityBoltByIdapi(query) {
  return request({
    url: "production-plan/railFacilityBolt/deleteManRailFacilityBoltById",
    method: "get",
    params: query,
  });
}

// 桥上护轨的修改
export function editManRailFacilityGuardRailapi(data) {
  return request({
    url: "production-plan/railFacilityGuardRail/editManRailFacilityGuardRail",
    method: "post",
    data: data,
  });
}
// 桥上护轨的添加
export function insertManRailFacilityGuardRailapi(data) {
  return request({
    url: "production-plan/railFacilityGuardRail/insertManRailFacilityGuardRail",
    method: "post",
    data: data,
  });
}
// 桥上护轨的查询
export function selectManRailFacilityGuardRailListapi(query) {
  return request({
    url: "production-plan/railFacilityGuardRail/selectManRailFacilityGuardRailList",
    method: "get",
    params: query,
  });
}
// 桥上护轨的删除
export function deleteManRailFacilityGuardRailByIdapi(query) {
  return request({
    url: "production-plan/railFacilityGuardRail/deleteManRailFacilityGuardRailById",
    method: "get",
    params: query,
  });
}

// 道床的修改
export function editManRailFacilityBallastBedapi(data) {
  return request({
    url: "production-plan/railFacilityBallastBed/editManRailFacilityBallastBed",
    method: "post",
    data: data,
  });
}
// 道床的添加
export function insertManRailFacilityBallastBedapi(data) {
  return request({
    url: "production-plan/railFacilityBallastBed/insertManRailFacilityBallastBed",
    method: "post",
    data: data,
  });
}
// 道床的查询
export function selectManRailFacilityBallastBedListapi(query) {
  return request({
    url: "production-plan/railFacilityBallastBed/selectManRailFacilityBallastBedList",
    method: "get",
    params: query,
  });
}
// 道床的删除
export function deleteManRailFacilityBallastBedByIdapi(query) {
  return request({
    url: "production-plan/railFacilityBallastBed/deleteManRailFacilityBallastBedById",
    method: "get",
    params: query,
  });
}

// 属性维护的修改
export function editManBasicPropertyapi(data) {
  return request({
    url: "production-plan/property/editManBasicProperty",
    method: "post",
    data: data,
  });
}
// 属性维护的添加
export function insertManBasicPropertyapi(data) {
  return request({
    url: "production-plan/property/insertManBasicProperty",
    method: "post",
    data: data,
  });
}
// 属性维护的查询
export function selectManBasicPropertyListapi(query) {
  return request({
    url: "production-plan/property/selectManBasicPropertyList",
    method: "get",
    params: query,
  });
}
// 属性维护的查询类型
export function selectPropertyTypeListapi(query) {
  return request({
    url: "production-plan/property/selectPropertyTypeList",
    method: "get",
    params: query,
  });
}
// 共享资料的查询
export function selectManDatumListapi(query) {
  return request({
    url: "production-plan/datum/selectManDatumList",
    method: "get",
    params: query,
  });
}
// 共享资料的删除
export function deleteManDatumByIdapi(data) {
  return request({
    url: "file/datumFile/deleteManDatumById",
    method: "post",
    data: data,
  });
}
// 共享资料的添加文件
export function insertDatumapi(data) {
  return request({
    url: "file/datumFile/insertShareDatum",
    method: "post",
    data: data,
  });
}
// 共享资料的修改
export function editShareDatumapi(data) {
  return request({
    url: "file/datumFile/editShareDatum",
    method: "post",
    data: data,
  });
}
// 股道的查询
export function selectManStationFacilityTrackListapi(query) {
  return request({
    url: "production-plan/stationFacilityTrack/selectManStationFacilityTrackList",
    method: "get",
    params: query,
  });
}
// 股道的添加
export function insertManStationFacilityTrackapi(data) {
  return request({
    url: "production-plan/stationFacilityTrack/insertManStationFacilityTrack",
    method: "post",
    data: data,
  });
}

// 股道的修改
export function editManStationFacilityTrackapi(data) {
  return request({
    url: "production-plan/stationFacilityTrack/editManStationFacilityTrack",
    method: "post",
    data: data,
  });
}
// 股道的删除
export function deleteManStationFacilityTrackByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityTrack/deleteManStationFacilityTrackById",
    method: "get",
    params: query,
  });
}
// 断链的查询
export function selectManRailFacilityBrokenChainListapi(query) {
  return request({
    url: "production-plan/railFacilityBrokenChain/selectManRailFacilityBrokenChainList",
    method: "get",
    params: query,
  });
}
// 断链的添加
export function insertManRailFacilityBrokenChainapi(data) {
  return request({
    url: "production-plan/railFacilityBrokenChain/insertManRailFacilityBrokenChain",
    method: "post",
    data: data,
  });
}

// 断链的修改
export function editManRailFacilityBrokenChainapi(data) {
  return request({
    url: "production-plan/railFacilityBrokenChain/editManRailFacilityBrokenChain",
    method: "post",
    data: data,
  });
}
// 断链的删除
export function deleteManRailFacilityBrokenChainByIdapi(query) {
  return request({
    url: "production-plan/railFacilityBrokenChain/deleteManRailFacilityBrokenChainById",
    method: "get",
    params: query,
  });
}
// 坡度的查询
export function selectManRailFacilitySlopeListapi(query) {
  return request({
    url: "production-plan/railFacilitySlope/selectManRailFacilitySlopeList",
    method: "get",
    params: query,
  });
}
// 坡度的添加
export function insertManRailFacilitySlopeapi(data) {
  return request({
    url: "production-plan/railFacilitySlope/insertManRailFacilitySlope",
    method: "post",
    data: data,
  });
}

// 坡度的修改
export function editManRailFacilitySlopeapi(data) {
  return request({
    url: "production-plan/railFacilitySlope/editManRailFacilitySlope",
    method: "post",
    data: data,
  });
}
// 坡度的删除
export function deleteManRailFacilitySlopeByIdapi(query) {
  return request({
    url: "production-plan/railFacilitySlope/deleteManRailFacilitySlopeById",
    method: "get",
    params: query,
  });
}
// 接头的查询
export function selectManRailFacilityConnectorListapi(query) {
  return request({
    url: "production-plan/railFacilityConnector/selectManRailFacilityConnectorList",
    method: "get",
    params: query,
  });
}
// 接头的添加
export function insertManRailFacilityConnectorapi(data) {
  return request({
    url: "production-plan/railFacilityConnector/insertManRailFacilityConnector",
    method: "post",
    data: data,
  });
}

// 接头的修改
export function editManRailFacilityConnectorapi(data) {
  return request({
    url: "production-plan/railFacilityConnector/editManRailFacilityConnector",
    method: "post",
    data: data,
  });
}
// 接头的删除
export function deleteManRailFacilityConnectorByIdapi(query) {
  return request({
    url: "production-plan/railFacilityConnector/deleteManRailFacilityConnectorById",
    method: "get",
    params: query,
  });
}
// 焊缝的查询
export function selectManRailFacilityWeldingLineListapi(query) {
  return request({
    url: "production-plan/railFacilityWeldingLine/selectManRailFacilityWeldingLineList",
    method: "get",
    params: query,
  });
}
// 焊缝的添加
export function insertManRailFacilityWeldingLineapi(data) {
  return request({
    url: "production-plan/railFacilityWeldingLine/insertManRailFacilityWeldingLine",
    method: "post",
    data: data,
  });
}

// 焊缝的修改
export function editManRailFacilityWeldingLineapi(data) {
  return request({
    url: "production-plan/railFacilityWeldingLine/editManRailFacilityWeldingLine",
    method: "post",
    data: data,
  });
}
// 焊缝的删除
export function deleteManRailFacilityWeldingLineByIdapi(query) {
  return request({
    url: "production-plan/railFacilityWeldingLine/deleteManRailFacilityWeldingLineById",
    method: "get",
    params: query,
  });
}

// 无缝线路的查询
export function selectManRailFacilityJointlessTrackListapi(query) {
  return request({
    url: "production-plan/railFacilityJointlessTrack/selectManRailFacilityJointlessTrackList",
    method: "get",
    params: query,
  });
}

// 无缝线路的添加
export function insertManRailFacilityJointlessTrackapi(data) {
  return request({
    url: "production-plan/railFacilityJointlessTrack/insertManRailFacilityJointlessTrack",
    method: "post",
    data: data,
  });
}

// 无缝线路的修改
export function editManRailFacilityJointlessTrackapi(data) {
  return request({
    url: "production-plan/railFacilityJointlessTrack/editManRailFacilityJointlessTrack",
    method: "post",
    data: data,
  });
}
// 无缝线路的删除
export function deleteManRailFacilityJointlessTrackByIdapi(query) {
  return request({
    url: "production-plan/railFacilityJointlessTrack/deleteManRailFacilityJointlessTrackById",
    method: "get",
    params: query,
  });
}

// 鱼尾板的查询
export function selectManRailFacilityFishplateListapi(query) {
  return request({
    url: "production-plan/railFacilityFishplate/selectManRailFacilityFishplateList",
    method: "get",
    params: query,
  });
}

// 鱼尾板的添加
export function insertManRailFacilityFishplateapi(data) {
  return request({
    url: "production-plan/railFacilityFishplate/insertManRailFacilityFishplate",
    method: "post",
    data: data,
  });
}

// 鱼尾板的修改
export function editManRailFacilityFishplateapi(data) {
  return request({
    url: "production-plan/railFacilityFishplate/editManRailFacilityFishplate",
    method: "post",
    data: data,
  });
}
// 鱼尾板的删除
export function deleteManRailFacilityFishplateByIdapi(query) {
  return request({
    url: "production-plan/railFacilityFishplate/deleteManRailFacilityFishplateById",
    method: "get",
    params: query,
  });
}

// 移观测桩的查询
export function selectManRailFacilityObservationPileListapi(query) {
  return request({
    url: "production-plan/railFacilityObservationPile/selectManRailFacilityObservationPileList",
    method: "get",
    params: query,
  });
}

// 移观测桩的添加
export function insertManRailFacilityObservationPileapi(data) {
  return request({
    url: "production-plan/railFacilityObservationPile/insertManRailFacilityObservationPile",
    method: "post",
    data: data,
  });
}

// 移观测桩的修改
export function editManRailFacilityObservationPileapi(data) {
  return request({
    url: "production-plan/railFacilityObservationPile/editManRailFacilityObservationPile",
    method: "post",
    data: data,
  });
}
// 移观测桩的删除
export function deleteManRailFacilityObservationPileByIdapi(query) {
  return request({
    url: "production-plan/railFacilityObservationPile/deleteManRailFacilityObservationPileById",
    method: "get",
    params: query,
  });
}

// 钢轨备轨的查询
export function selectManRailFacilityAlternativeRailListapi(query) {
  return request({
    url: "production-plan/railFacilityAlternativeRail/selectManRailFacilityAlternativeRailList",
    method: "get",
    params: query,
  });
}

// 钢轨备轨的添加
export function insertManRailFacilityAlternativeRailapi(data) {
  return request({
    url: "production-plan/railFacilityAlternativeRail/insertManRailFacilityAlternativeRail",
    method: "post",
    data: data,
  });
}

// 钢轨备轨的修改
export function editManRailFacilityAlternativeRailapi(data) {
  return request({
    url: "production-plan/railFacilityAlternativeRail/editManRailFacilityAlternativeRail",
    method: "post",
    data: data,
  });
}
// 钢轨备轨的删除
export function deleteManRailFacilityAlternativeRailByIdapi(query) {
  return request({
    url: "production-plan/railFacilityAlternativeRail/deleteManRailFacilityAlternativeRailById",
    method: "get",
    params: query,
  });
}

// 排水的查询
export function selectManRailFacilityDrainageListapi(query) {
  return request({
    url: "production-plan/railFacilityDrainage/selectManRailFacilityDrainageList",
    method: "get",
    params: query,
  });
}
//  排水的添加
export function insertManRailFacilityDrainageapi(data) {
  return request({
    url: "production-plan/railFacilityDrainage/insertManRailFacilityDrainage",
    method: "post",
    data: data,
  });
}

//  排水的修改
export function editManRailFacilityDrainageapi(data) {
  return request({
    url: "production-plan/railFacilityDrainage/editManRailFacilityDrainage",
    method: "post",
    data: data,
  });
}
//  排水的删除
export function deleteManRailFacilityDrainageByIdapi(query) {
  return request({
    url: "production-plan/railFacilityDrainage/deleteManRailFacilityDrainageById",
    method: "get",
    params: query,
  });
}

// 护网门的查询
export function selectManRailFacilityGuardDoorListapi(query) {
  return request({
    url: "production-plan/railFacilityGuardDoor/selectManRailFacilityGuardDoorList",
    method: "get",
    params: query,
  });
}
//  护网门的添加
export function insertManRailFacilityGuardDoorapi(data) {
  return request({
    url: "production-plan/railFacilityGuardDoor/insertManRailFacilityGuardDoor",
    method: "post",
    data: data,
  });
}
//  护网门的修改
export function editManRailFacilityGuardDoorapi(data) {
  return request({
    url: "production-plan/railFacilityGuardDoor/editManRailFacilityGuardDoor",
    method: "post",
    data: data,
  });
}
//  护网门的删除
export function deleteManRailFacilityGuardDoorByIdapi(query) {
  return request({
    url: "production-plan/railFacilityGuardDoor/deleteManRailFacilityGuardDoorById",
    method: "get",
    params: query,
  });
}

// 护坡的查询
export function selectManRailFacilityProtectionSlopeListapi(query) {
  return request({
    url: "production-plan/railFacilityProtectionSlope/selectManRailFacilityProtectionSlopeList",
    method: "get",
    params: query,
  });
}
//  护坡的添加
export function insertManRailFacilityProtectionSlopeapi(data) {
  return request({
    url: "production-plan/railFacilityProtectionSlope/insertManRailFacilityProtectionSlope",
    method: "post",
    data: data,
  });
}
//  护坡的修改
export function editManRailFacilityProtectionSlopeapi(data) {
  return request({
    url: "production-plan/railFacilityProtectionSlope/editManRailFacilityProtectionSlope",
    method: "post",
    data: data,
  });
}
//  护坡的删除
export function deleteManRailFacilityProtectionSlopeByIdapi(query) {
  return request({
    url: "production-plan/railFacilityProtectionSlope/deleteManRailFacilityProtectionSlopeById",
    method: "get",
    params: query,
  });
}

// 边坡的查询
export function selectManRailFacilitySideSlopeListapi(query) {
  return request({
    url: "production-plan/railFacilitySideSlope/selectManRailFacilitySideSlopeList",
    method: "get",
    params: query,
  });
}
//  边坡的添加
export function insertManRailFacilitySideSlopeapi(data) {
  return request({
    url: "production-plan/railFacilitySideSlope/insertManRailFacilitySideSlope",
    method: "post",
    data: data,
  });
}
//  边坡的修改
export function editManRailFacilitySideSlopeapi(data) {
  return request({
    url: "production-plan/railFacilitySideSlope/editManRailFacilitySideSlope",
    method: "post",
    data: data,
  });
}
//  边坡的删除
export function deleteManRailFacilitySideSlopeByIdapi(query) {
  return request({
    url: "production-plan/railFacilitySideSlope/deleteManRailFacilitySideSlopeById",
    method: "get",
    params: query,
  });
}

// 道岔的查询
export function selectManStationFacilityTurnoutListapi(query) {
  return request({
    url: "production-plan/stationFacilityTurnout/selectManStationFacilityTurnoutList",
    method: "get",
    params: query,
  });
}
//  道岔的添加
export function insertManStationFacilityTurnoutapi(data) {
  return request({
    url: "production-plan/stationFacilityTurnout/insertManStationFacilityTurnout",
    method: "post",
    data: data,
  });
}
//  道岔的修改
export function editManStationFacilityTurnoutapi(data) {
  return request({
    url: "production-plan/stationFacilityTurnout/editManStationFacilityTurnout",
    method: "post",
    data: data,
  });
}
//  道岔的删除
export function deleteManStationFacilityTurnoutByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityTurnout/deleteManStationFacilityTurnoutById",
    method: "get",
    params: query,
  });
}

// 查询站内钢轨列表
export function selectManStationFacilityRailListapi(query) {
  return request({
    url: "production-plan/stationFacilityRail/selectManStationFacilityRailList",
    method: "get",
    params: query,
  });
}
// 添加站内钢轨列表
export function insertManStationFacilityRailapi(data) {
  return request({
    url: "production-plan/stationFacilityRail/insertManStationFacilityRail",
    method: "post",
    data: data,
  });
}

// 修改站内钢轨
export function editManStationFacilityRailapi(data) {
  return request({
    url: "production-plan/stationFacilityRail/editManStationFacilityRail",
    method: "post",
    data: data,
  });
}
// 删除站内钢轨
export function deleteManStationFacilityRailByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityRail/deleteManStationFacilityRailById",
    method: "get",
    params: query,
  });
}

// 查询站内道床列表
export function selectManStationFacilityBallastBedListapi(query) {
  return request({
    url: "production-plan/stationFacilityBallastBed/selectManStationFacilityBallastBedList",
    method: "get",
    params: query,
  });
}
// 添加站内道床列表
export function insertManStationFacilityBallastBedapi(data) {
  return request({
    url: "production-plan/stationFacilityBallastBed/insertManStationFacilityBallastBed",
    method: "post",
    data: data,
  });
}

// 修改站内道床
export function editManStationFacilityBallastBedapi(data) {
  return request({
    url: "production-plan/stationFacilityBallastBed/editManStationFacilityBallastBed",
    method: "post",
    data: data,
  });
}
// 删除站内道床
export function deleteManStationFacilityBallastBedByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityBallastBed/deleteManStationFacilityBallastBedById",
    method: "get",
    params: query,
  });
}

// 查询站路基列表
export function selectManStationFacilityRoadbedListapi(query) {
  return request({
    url: "production-plan/stationFacilityRoadbed/selectManStationFacilityRoadbedList",
    method: "get",
    params: query,
  });
}
// 添加站内路基列表
export function insertManStationFacilityRoadbedapi(data) {
  return request({
    url: "production-plan/stationFacilityRoadbed/insertManStationFacilityRoadbed",
    method: "post",
    data: data,
  });
}

// 修改站内路基
export function editManStationFacilityRoadbedapi(data) {
  return request({
    url: "production-plan/stationFacilityRoadbed/editManStationFacilityRoadbed",
    method: "post",
    data: data,
  });
}
// 删除站内路基
export function deleteManStationFacilityRoadbedByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityRoadbed/deleteManStationFacilityRoadbedById",
    method: "get",
    params: query,
  });
}

// 查询站曲线列表
export function selectManStationFacilityCurveListapi(query) {
  return request({
    url: "production-plan/stationFacilityCurve/selectManStationFacilityCurveList",
    method: "get",
    params: query,
  });
}
// 添加站内曲线列表
export function insertManStationFacilityCurveapi(data) {
  return request({
    url: "production-plan/stationFacilityCurve/insertManStationFacilityCurve",
    method: "post",
    data: data,
  });
}

// 修改站内曲线
export function editManStationFacilityCurveapi(data) {
  return request({
    url: "production-plan/stationFacilityCurve/editManStationFacilityCurve",
    method: "post",
    data: data,
  });
}
// 删除站内曲线
export function deleteManStationFacilityCurveByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityCurve/deleteManStationFacilityCurveById",
    method: "get",
    params: query,
  });
}
// 查询站坡度列表
export function selectManStationFacilitySlopeListapi(query) {
  return request({
    url: "production-plan/stationFacilitySlope/selectManStationFacilitySlopeList",
    method: "get",
    params: query,
  });
}
// 添加站内坡度列表
export function insertManStationFacilitySlopeapi(data) {
  return request({
    url: "production-plan/stationFacilitySlope/insertManStationFacilitySlope",
    method: "post",
    data: data,
  });
}

// 修改站内坡度
export function editManStationFacilitySlopeapi(data) {
  return request({
    url: "production-plan/stationFacilitySlope/editManStationFacilitySlope",
    method: "post",
    data: data,
  });
}
// 删除站内坡度
export function deleteManStationFacilitySlopeByIdapi(query) {
  return request({
    url: "production-plan/stationFacilitySlope/deleteManStationFacilitySlopeById",
    method: "get",
    params: query,
  });
}

// 查询站接头列表
export function selectManStationFacilityConnectorListapi(query) {
  return request({
    url: "production-plan/stationFacilityConnector/selectManStationFacilityConnectorList",
    method: "get",
    params: query,
  });
}
// 添加站内接头列表
export function insertManStationFacilityConnectorapi(data) {
  return request({
    url: "production-plan/stationFacilityConnector/insertManStationFacilityConnector",
    method: "post",
    data: data,
  });
}

// 修改站内接头
export function editManStationFacilityConnectorapi(data) {
  return request({
    url: "production-plan/stationFacilityConnector/editManStationFacilityConnector",
    method: "post",
    data: data,
  });
}
// 删除站内接头
export function deleteManStationFacilityConnectorByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityConnector/deleteManStationFacilityConnectorById",
    method: "get",
    params: query,
  });
}
// 查询站焊缝列表
export function selectManStationFacilityWeldingLineListapi(query) {
  return request({
    url: "production-plan/stationFacilityWeldingLine/selectManStationFacilityWeldingLineList",
    method: "get",
    params: query,
  });
}
// 添加站内焊缝列表
export function insertManStationFacilityWeldingLineapi(data) {
  return request({
    url: "production-plan/stationFacilityWeldingLine/insertManStationFacilityWeldingLine",
    method: "post",
    data: data,
  });
}
// 修改站内焊缝
export function editManStationFacilityWeldingLineapi(data) {
  return request({
    url: "production-plan/stationFacilityWeldingLine/editManStationFacilityWeldingLine",
    method: "post",
    data: data,
  });
}
// 删除站内焊缝
export function deleteManStationFacilityWeldingLineByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityWeldingLine/deleteManStationFacilityWeldingLineById",
    method: "get",
    params: query,
  });
}

// 查询站无缝线路列表
export function selectManStationFacilityJointlessTrackListapi(query) {
  return request({
    url: "production-plan/stationFacilityJointlessTrack/selectManStationFacilityJointlessTrackList",
    method: "get",
    params: query,
  });
}
// 添加站内无缝线路列表
export function insertManStationFacilityJointlessTrackapi(data) {
  return request({
    url: "production-plan/stationFacilityJointlessTrack/insertManStationFacilityJointlessTrack",
    method: "post",
    data: data,
  });
}
// 修改站内无缝线路
export function editManStationFacilityJointlessTrackapi(data) {
  return request({
    url: "production-plan/stationFacilityJointlessTrack/editManStationFacilityJointlessTrack",
    method: "post",
    data: data,
  });
}
// 删除站内无缝线路
export function deleteManStationFacilityJointlessTrackByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityJointlessTrack/deleteManStationFacilityJointlessTrackById",
    method: "get",
    params: query,
  });
}
// 查询站站内螺栓列表
export function selectManStationFacilityBoltListapi(query) {
  return request({
    url: "production-plan/stationFacilityBolt/selectManStationFacilityBoltList",
    method: "get",
    params: query,
  });
}
// 添加站内站内螺栓列表
export function insertManStationFacilityBoltapi(data) {
  return request({
    url: "production-plan/stationFacilityBolt/insertManStationFacilityBolt",
    method: "post",
    data: data,
  });
}
// 修改站内站内螺栓
export function editManStationFacilityBoltapi(data) {
  return request({
    url: "production-plan/stationFacilityBolt/editManStationFacilityBolt",
    method: "post",
    data: data,
  });
}
// 删除站内站内螺栓
export function deleteManStationFacilityBoltByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityBolt/deleteManStationFacilityBoltById",
    method: "get",
    params: query,
  });
}
// 查询站站内扣件列表
export function selectManStationFacilityFastenListapi(query) {
  return request({
    url: "production-plan/stationFacilityFasten/selectManStationFacilityFastenList",
    method: "get",
    params: query,
  });
}
// 添加站内站内扣件列表
export function insertManStationFacilityFastenapi(data) {
  return request({
    url: "production-plan/stationFacilityFasten/insertManStationFacilityFasten",
    method: "post",
    data: data,
  });
}
// 修改站内站内扣件
export function editManStationFacilityFastenapi(data) {
  return request({
    url: "production-plan/stationFacilityFasten/editManStationFacilityFasten",
    method: "post",
    data: data,
  });
}
// 删除站内站内扣件
export function deleteManStationFacilityFastenByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityFasten/deleteManStationFacilityFastenById",
    method: "get",
    params: query,
  });
}
// 查询站站内鱼尾板列表
export function selectManStationFacilityFishplateListapi(query) {
  return request({
    url: "production-plan/stationFacilityFishplate/selectManStationFacilityFishplateList",
    method: "get",
    params: query,
  });
}
// 添加站内站内鱼尾板列表
export function insertManStationFacilityFishplateapi(data) {
  return request({
    url: "production-plan/stationFacilityFishplate/insertManStationFacilityFishplate",
    method: "post",
    data: data,
  });
}
// 修改站内站内鱼尾板
export function editManStationFacilityFishplateapi(data) {
  return request({
    url: "production-plan/stationFacilityFishplate/editManStationFacilityFishplate",
    method: "post",
    data: data,
  });
}
// 删除站内站内鱼尾板
export function deleteManStationFacilityFishplateByIdapi(query) {
  return request({
    url: "production-plan/stationFacilityFishplate/deleteManStationFacilityFishplateById",
    method: "get",
    params: query,
  });
}

// 查询站站内轨枕列表
export function selectManStationFacilitySleeperListapi(query) {
  return request({
    url: "production-plan/stationFacilitySleeper/selectManStationFacilitySleeperList",
    method: "get",
    params: query,
  });
}
// 添加站内站内轨枕列表
export function insertManStationFacilitySleeperapi(data) {
  return request({
    url: "production-plan/stationFacilitySleeper/insertManStationFacilitySleeper",
    method: "post",
    data: data,
  });
}
// 修改站内站内轨枕
export function editManStationFacilitySleeperapi(data) {
  return request({
    url: "production-plan/stationFacilitySleeper/editManStationFacilitySleeper",
    method: "post",
    data: data,
  });
}
// 删除站内站内轨枕
export function deleteManStationFacilitySleeperByIdapi(query) {
  return request({
    url: "production-plan/stationFacilitySleeper/deleteManStationFacilitySleeperById",
    method: "get",
    params: query,
  });
}
// 资料的上传
export function insertPrivateDatumapi(data) {
  return request({
    url: "file/datumFile/insertPrivateDatum",
    method: "post",
    data: data,
  });
}
// 私有资料文件夹的查询
export function selectPrivateDatumAndFolderListapi(query) {
  return request({
    url: "production-plan/datum/selectPrivateDatumAndFolderList",
    method: "get",
    params: query,
  });
}
// 新增资料文件夹
export function insertManDatumFolderapi(data) {
  return request({
    url: "production-plan/folder/insertManDatumFolder",
    method: "post",
    data: data,
  });
}
// 私有资料文件夹的查询
export function selectShareDatumAndFolderListapi(query) {
  return request({
    url: "production-plan/datum/selectShareDatumAndFolderList",
    method: "get",
    params: query,
  });
}

//====================================================================================================
// 月度施工计划新增
export function insertProMonthlyMaintainPlanapi(data) {
  return request({
    url: "production-plan/monthlyMaintainPlan/insertProMonthlyMaintainPlan",
    method: "post",
    data: data,
  });
}
// 月度施工计划查询
export function selectProMonthlyMaintainPlanListapi(query) {
  return request({
    url: "production-plan/monthlyMaintainPlan/selectProMonthlyMaintainPlanList",
    method: "get",
    params: query,
  });
}
// 月度施工计划删除
export function deleteProMonthlyMaintainPlanByIdapi(query) {
  return request({
    url: "production-plan/monthlyMaintainPlan/deleteProMonthlyMaintainPlanById",
    method: "get",
    params: query,
  });
}
// 月度施工计划审批查询按钮
export function selectWorkflowStatusapi(data) {
  return request({
    url: "production-plan/workflow/selectWorkflowStatus",
    method: "post",
    data: data,
  });
}
// 月度施工计划审批查询按钮
export function examineApprovePlanapi(data) {
  return request({
    url: "production-plan/workflow/examineApprovePlan",
    method: "post",
    data: data,
  });
}
// 月度施工计划编辑
export function editProMonthlyMaintainPlanapi(data) {
  return request({
    url: "production-plan/monthlyMaintainPlan/editProMonthlyMaintainPlan",
    method: "post",
    data: data,
  });
}

// 计划所有的提交
export function workflowExamineMaintainPlanapi(data) {
  return request({
    url: "production-plan/workflow/examineMaintainPlan",
    method: "post",
    data: data,
  });
}

// 查询所有用户
export function selectUserByOrganizationIdapi(query) {
  return request({
    url: "system/user/selectUserByOrganizationId",
    method: "get",
    params: query,
  });
}

// 组织结构数据
export function selectOrganizationTreeapi(query) {
  return request({
    url: "production-plan/organization/management/selectOrganizationTree",
    method: "get",
    params: query,
  });
}
// 智能推荐池
export function selectProIntelligentRecommendationPoolListapi(query) {
  return request({
    url: "production-plan/intelligentRecommendationPool/selectProIntelligentRecommendationPoolList",
    method: "get",
    params: query,
  });
}
// 任务流和计划绑定
export function insertWorkflowAssociatedPlanapi(data) {
  return request({
    url: "production-plan/workflowAssociatedPlan/insertWorkflowAssociatedPlan",
    method: "post",
    data: data,
  });
}
//获取
export function selectWorkflowTemplateTreeapi(query) {
  return request({
    url: "production-plan/workflow/selectWorkflowTemplateTree",
    method: "get",
    params: query,
  });
}
//获取
export function selectWorkflowTemplateListapi(query) {
  return request({
    url: "production-plan/workflowTemplate/selectWorkflowTemplateList",
    method: "get",
    params: query,
  });
}
//保存流程设置
export function insertWorkflowTemplateapi(data) {
  return request({
    url: "production-plan/workflowTemplate/insertWorkflowTemplate",
    method: "post",
    data: data,
  });
}
//修改流程设置
export function editWorkflowTemplateapi(data) {
  return request({
    url: "production-plan/workflowTemplate/editWorkflowTemplate",
    method: "post",
    data: data,
  });
}
//删除流程设置
export function deleteWorkflowTemplateByIdapi(query) {
  return request({
    url: "production-plan/workflowTemplate/deleteWorkflowTemplateById",
    method: "get",
    params: query,
  });
}
//查询审批人员
export function submitWorkflowapi(data) {
  return request({
    url: "production-plan/workflow/submitWorkflow",
    method: "post",
    data: data,
  });
}
//查询审批人员
export function submitWorkflowByUserapi(data) {
  return request({
    url: "production-plan/workflow/submitWorkflowByUser",
    method: "post",
    data: data,
  });
}
//月计划的桥隧涵查询
export function selectProMonthlyBtcMaintainListapi(query) {
  return request({
    url: "production-plan/monthlyBtcMaintainPlan/selectProMonthlyBtcMaintainPlanList",
    method: "get",
    params: query,
  });
}
//月计划的桥隧涵新增
export function insertProMonthlyBtcMaintainapi(data) {
  return request({
    url: "production-plan/monthlyBtcMaintainPlan/insertProMonthlyBtcMaintainPlan",
    method: "post",
    data: data,
  });
}
//月计划的桥隧涵修改
export function editProMonthlyBtcMaintainapi(data) {
  return request({
    url: "production-plan/monthlyBtcMaintainPlan/editProMonthlyBtcMaintainPlan",
    method: "post",
    data: data,
  });
}
//删除月计划的桥隧涵
export function deleteProMonthlyBtcMaintainByIdapi(query) {
  return request({
    url: "production-plan/monthlyBtcMaintainPlan/deleteProMonthlyBtcMaintainPlanById",
    method: "get",
    params: query,
  });
}
//月计划的线路查找
export function selectProMonthlyRailwayMaintainListapi(query) {
  return request({
    url: "production-plan/monthlyRailwayMaintainPlan/selectProMonthlyRailwayMaintainPlanList",
    method: "get",
    params: query,
  });
}

//月计划的线路新增
export function insertProMonthlyRailwayMaintainapi(data) {
  return request({
    url: "production-plan/monthlyRailwayMaintainPlan/insertProMonthlyRailwayMaintainPlan",
    method: "post",
    data: data,
  });
}
//月计划的线路修改
export function editProMonthlyRailwayMaintainapi(data) {
  return request({
    url: "production-plan/monthlyRailwayMaintainPlan/editProMonthlyRailwayMaintainPlan",
    method: "post",
    data: data,
  });
}
//删除月计划的线路
export function deleteProMonthlyRailwayMaintainByIdapi(query) {
  return request({
    url: "production-plan/monthlyRailwayMaintainPlan/deleteProMonthlyRailwayMaintainPlanById",
    method: "get",
    params: query,
  });
}

//周计划的维修周期管理的添加
export function insertProWeeklyCycleManageapi(data) {
  return request({
    url: "production-plan/weeklyCycleManage/insertProWeeklyCycleManage",
    method: "post",
    data: data,
  });
}
//维修周期管理修改
export function editProWeeklyCycleManageapi(data) {
  return request({
    url: "production-plan/weeklyCycleManage/editProWeeklyCycleManage",
    method: "post",
    data: data,
  });
}
//删除维修周期管理
export function deleteProWeeklyCycleManageByIdapi(query) {
  return request({
    url: "production-plan/weeklyCycleManage/deleteProWeeklyCycleManageById",
    method: "get",
    params: query,
  });
}
// 周计划的维修周期管理查询
export function selectProWeeklyCycleManageListapi(query) {
  return request({
    url: "production-plan/weeklyCycleManage/selectProWeeklyCycleManageList",
    method: "get",
    params: query,
  });
}

//周计划的添加
export function insertProWeeklyMaintainPlanapi(data) {
  return request({
    url: "production-plan/weeklyMaintainPlan/insertProWeeklyMaintainPlan",
    method: "post",
    data: data,
  });
}

//周计划的查询
export function selectProWeeklyMaintainPlanListapi(query) {
  return request({
    url: "production-plan/weeklyMaintainPlan/selectProWeeklyMaintainPlanList",
    method: "get",
    params: query,
  });
}
//删除周计划
export function deleteProWeeklyMaintainPlanByIdapi(query) {
  return request({
    url: "production-plan/weeklyMaintainPlan/deleteProWeeklyMaintainPlanById",
    method: "get",
    params: query,
  });
}
//周计划修改
export function editProWeeklyMaintainPlanapi(data) {
  return request({
    url: "production-plan/weeklyMaintainPlan/editProWeeklyMaintainPlan",
    method: "post",
    data: data,
  });
}
//月计划组件的查询
export function selectMonthlyMaintainContentListapi(query) {
  return request({
    url: "production-plan/weeklyMaintainPlan/selectMonthlyMaintainContentList",
    method: "get",
    params: query,
  });
}

//日计划列表查询
export function selectProDaylyPlanList(query) {
  return request({
    url: "production-plan/daylyPlan/selectProDaylyPlanList",
    method: "get",
    params: query,
  });
}
//日计划的添加
export function insertProDaylyPlanapi(data) {
  return request({
    url: "production-plan/daylyPlan/insertProDaylyPlan",
    method: "post",
    data: data,
  });
}
//日计划的修改
export function editProDaylyPlanapi(data) {
  return request({
    url: "production-plan/daylyPlan/editProDaylyPlan",
    method: "post",
    data: data,
  });
}
//日计划的删除
export function deleteProDaylyPlanByIdapi(query) {
  return request({
    url: "production-plan/daylyPlan/deleteProDaylyPlanById",
    method: "get",
    params: query,
  });
}
//资源池周计划的查询
export function selectWeeklyMaintainContentListapi(query) {
  return request({
    url: "production-plan/weeklyMaintainPlan/selectWeeklyMaintainContentList",
    method: "get",
    params: query,
  });
}
